package com.xudu.tourbackend.entity.request;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;

/**
 * @className: AddScenicSpotRequest
 * @description: TODO
 * @author: xudu
 * @create: 2024-06-21
 */
@Data
public class AddScenicSpotRequest {

    /**
     * 景点名称
     */
    @NotNull(message = "景点名称不能为空")
    private String scenicSpotName;

    /**
     * 景点图片
     */
    @NotNull(message = "景点图片不能为空")
    private MultipartFile scenicSpotImage;

    /**
     * 景点详情
     */
    @NotNull(message = "景点详情不能为空")
    private String scenicSpotInfo;

    /**
     * 景区id
     */
    @NotNull(message = "景区id不能为空")
    private Integer scenicAreaId;
}
